WooCommerce\Square\Framework\PaymentGateway\Handlers\Capture S

Total Complexity 45
Dependencies 7
Dependents 1
Total lines 384
Lines of code 134
Logical lines of code 72
Comment lines 157
Methods 14
Properties 1

Methods 14

Method Rating Maintainability Complexity Lines of code
perform_capture()
A
40 11 60
maybe_capture_paid_order()
S
58 5 15
do_capture_success()
S
64 6 8
order_can_be_captured()
S
65 4 9
is_order_fully_captured()
S
66 4 7
__construct()
S
69 3 6
maybe_perform_capture()
S
68 2 7
is_order_ready_for_capture()
S
76 2 3
has_order_authorization_expired()
S
70 2 5
get_order_authorization_amount()
S
74 2 4
do_capture_failed()
S
98 1 1
is_order_captured()
S
77 1 3
get_order_capture_maximum()
S
80 1 3
get_gateway()
S
82 1 3